package cn.jiyun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xm_refund")
@ApiModel(value="XmRefund对象", description="")
public class XmRefund implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "订单id")
    private Integer oid;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "退款原因")
    private String reason;

    @ApiModelProperty(value = "补充说明")
    private String bcsm;

    @ApiModelProperty(value = "角色（0：用户 1：商家 2：审核）")
    private Integer role;

    @ApiModelProperty(value = "支持买家/卖家")
    private String zc;

    @ApiModelProperty(value = "依据（图片，音频，视频）")
    private String url;
}
